﻿using System;

namespace Needle.Bus.Engine.Utils
{
    public static class MessageId
    {

        public static string Create()
        {
            return Guid.NewGuid().ToString("D").ToUpper();
        }

        public static string Create(string prefix)
        {
            return string.Format("{0}-{1}", prefix, Create());
        }

    }
}